Page({
    data: {
        type: 0
    },
    onLoad: function(t) {
        wx.setNavigationBarColor({
            frontColor: wx.getStorageSync("basic").topcolor,
            backgroundColor: wx.getStorageSync("basic").topbg
        });
    },
    myTab: function(t) {
        var a = t.currentTarget.dataset.type;
        this.setData({
            type: a
        });
    }
});